
" echo "loading python project common conf"

" reset project ctags and cscope database for project
function! ResetProjectDatabase()
	set notagrelative
    set tags=""
endfunction

" OmniCppComplete
let OmniCpp_NamespaceSearch = 1
let OmniCpp_GlobalScopeSearch = 1
let OmniCpp_ShowAccess = 1
let OmniCpp_ShowPrototypeInAbbr = 1 " show function parameters
let OmniCpp_MayCompleteDot = 1 " autocomplete after .
let OmniCpp_MayCompleteArrow = 1 " autocomplete after ->
let OmniCpp_MayCompleteScope = 1 " autocomplete after ::
let OmniCpp_DefaultNamespaces = ["std", "_GLIBCXX_STD"]
" set completeopt=menuone,menu,longest,preview
set completeopt=menuone,menu,longest
autocmd FileType python set omnifunc=pythoncomplete#Complete
" autocmd FileType python runtime! autoload/omni/python/pythoncomplete.vim
imap <silent> <F2> <C-X><C-O>
